<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<script type="text/javascript">
function click()
{
	document.getElementById("main").src=document.getElementById("input").value;
	document.getElementById("show").innerText="acted";
}
</script>
<title>Insert title here</title>
</head>
<body>
<form action="javascript:click();"><input type="text" id="input"></input><input type="submit" value="submit"></input></form>
<br/><div id="show"></div>
<br/><iframe id="main" style="width:100%; height:700px; overflow:visible;" src=""></iframe>
</body>
</html>